.container {
  padding: 20px;
}

.toolbar {
  margin-bottom: 20px;
}

.toolbar button {
  padding: 8px 16px;
  background-color: #1890ff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.toolbar button:hover {
  background-color: #40a9ff;
}

.box-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.box-table th,
.box-table td {
  padding: 12px;
  text-align: left;
  border: 1px solid #e8e8e8;
}

.box-table th {
  background-color: #fafafa;
  font-weight: 500;
}

.box-table tr:hover {
  background-color: #fafafa;
}

.box-table td button {
  margin-right: 8px;
  padding: 4px 8px;
  background-color: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  cursor: pointer;
}

.box-table td button:first-child {
  color: #1890ff;
  border-color: #1890ff;
}

.box-table td button:last-child {
  color: #ff4d4f;
  border-color: #ff4d4f;
}

.box-table td button:hover {
  opacity: 0.8;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  padding: 24px;
  border-radius: 8px;
  width: 500px;
  max-width: 90%;
}

.modal-content h2 {
  margin-top: 0;
  margin-bottom: 24px;
}

.modal-content form > div {
  margin-bottom: 16px;
}

.modal-content label {
  display: block;
  margin-bottom: 8px;
}

.modal-content input {
  width: 100%;
  padding: 8px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
}

.modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 24px;
}

.modal-buttons button {
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}

.modal-buttons button[type="submit"] {
  background-color: #1890ff;
  color: white;
  border: none;
}

.modal-buttons button[type="button"] {
  background-color: white;
  border: 1px solid #d9d9d9;
}

.modal-buttons button:hover {
  opacity: 0.8;
} 